package a.j;

import javax.swing.*;
import java.awt.*;
import java.awt.event.MouseEvent;
import java.awt.event.MouseWheelEvent;
import java.awt.event.MouseWheelListener;
import java.awt.geom.AffineTransform;
import java.awt.geom.NoninvertibleTransformException;
import java.awt.geom.Rectangle2D;
import java.util.ArrayList;
import java.util.List;

final class hf
  extends gf
  implements MouseWheelListener
{
  private int m;
  private Cursor G;
  private e_ H;
  private e_ I;
  private gf J;
  private a_ K;
  private List L = new ArrayList();
  private boolean M;
  static Class N;
  
  public hf()
  {
    this(null);
  }
  
  public hf(gf paramgf)
  {
    this.J = paramgf;
    if (!ld.E) {
      if (this.J != null) {
        this.J.d(false);
      }
    }
    d(false);
  }
  
  public void a(JComponent paramJComponent, AffineTransform paramAffineTransform)
  {
    this.L.add(new b_(paramJComponent, paramAffineTransform));
  }
  
  public void a(JComponent paramJComponent)
  {
    b_ localb_ = (b_)paramJComponent.getClientProperty("FloatingJComponent.Instance");
    if (this.L.remove(localb_)) {
      paramJComponent.putClientProperty("FloatingJComponent.Instance", null);
    }
  }
  
  public void b(boolean paramBoolean)
  {
    boolean bool = ld.E;
    super.b(paramBoolean);
    if (!bool) {
      if (paramBoolean)
      {
        this.K = a_.a(this.i.B());
        if (!bool) {
          if (!ld.D) {
            return;
          }
        }
      }
      else
      {
        this.H = null;
        this.I = null;
        this.G = null;
        this.m = 0;
      }
    }
    if ((bool) || (this.K != null))
    {
      this.K.c(this.i.B());
      this.K = null;
    }
  }
  
  public void mouseMoved(MouseEvent paramMouseEvent)
  {
    c(paramMouseEvent);
    if (!ld.E)
    {
      if (this.H != null) {
        this.H.a(paramMouseEvent);
      }
      v();
    }
    if (this.J != null) {
      if (!paramMouseEvent.isConsumed()) {
        this.J.mouseMoved(paramMouseEvent);
      }
    }
  }
  
  public void mouseReleased(MouseEvent paramMouseEvent)
  {
    boolean bool = ld.E;
    c(paramMouseEvent);
    if (!bool)
    {
      if (this.m > 0)
      {
        if (!bool)
        {
          if (this.I != null) {
            this.I.a(paramMouseEvent);
          }
          this.m -= 1;
        }
        if (bool) {
          break label73;
        }
        if (this.m == 0) {
          this.I = null;
        }
      }
      v();
    }
    if (this.J != null) {
      label73:
      if (!paramMouseEvent.isConsumed()) {
        this.J.mouseReleased(paramMouseEvent);
      }
    }
  }
  
  public void mouseDragged(MouseEvent paramMouseEvent)
  {
    c(paramMouseEvent);
    if (!ld.E)
    {
      if (this.I != null) {
        this.I.a(paramMouseEvent);
      }
      v();
    }
    if (this.J != null) {
      if (!paramMouseEvent.isConsumed()) {
        this.J.mouseDragged(paramMouseEvent);
      }
    }
  }
  
  public void mousePressed(MouseEvent paramMouseEvent)
  {
    boolean bool = ld.E;
    c(paramMouseEvent);
    if (!bool)
    {
      if (this.H != null)
      {
        if (!bool)
        {
          if (this.m == 0) {
            this.I = this.H;
          }
          this.m += 1;
        }
        this.I.a(paramMouseEvent);
      }
      v();
    }
    if (this.J != null) {
      if (!paramMouseEvent.isConsumed()) {
        this.J.mousePressed(paramMouseEvent);
      }
    }
  }
  
  public void mouseClicked(MouseEvent paramMouseEvent)
  {
    boolean bool = ld.E;
    c(paramMouseEvent);
    if (!bool)
    {
      if (this.I != null)
      {
        this.I.a(paramMouseEvent);
        if (bool) {
          break label61;
        }
        if (!ld.D) {}
      }
      else
      {
        if (bool) {
          break label65;
        }
      }
    }
    else if (this.H != null) {
      this.H.a(paramMouseEvent);
    }
    v();
    label61:
    if (this.J != null) {
      label65:
      if (!paramMouseEvent.isConsumed()) {
        this.J.mouseClicked(paramMouseEvent);
      }
    }
  }
  
  public void mouseEntered(MouseEvent paramMouseEvent)
  {
    c(paramMouseEvent);
    v();
    if ((ld.E) || (this.J != null)) {
      this.J.mouseEntered(paramMouseEvent);
    }
  }
  
  public void mouseExited(MouseEvent paramMouseEvent)
  {
    boolean bool = ld.E;
    if ((bool) || (!this.M))
    {
      if (!bool)
      {
        if (this.H != null)
        {
          this.H.a(paramMouseEvent);
          this.i.setToolTipText(null);
          this.H = null;
        }
        v();
      }
      if ((bool) || (this.J != null)) {
        this.J.mouseExited(paramMouseEvent);
      }
    }
  }
  
  private void v()
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    Cursor localCursor;
    if (!bool2) {
      if (this.I != null)
      {
        if (bool2) {
          break label39;
        }
        localCursor = this.I.c();
        if (!bool1) {
          break label60;
        }
      }
    }
    label39:
    if ((bool2) || (this.H != null))
    {
      localCursor = this.H.c();
      if (!bool1) {}
    }
    else
    {
      localCursor = null;
    }
    label60:
    if (localCursor != this.G)
    {
      this.i.a(localCursor);
      this.G = localCursor;
    }
  }
  
  private e_ a(MouseEvent paramMouseEvent, e_ parame_)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    if ((bool2) || (!this.L.isEmpty()))
    {
      int i = 0;
      do
      {
        if (i >= this.L.size()) {
          break;
        }
        b_ localb_ = (b_)this.L.get(i);
        JComponent localJComponent = localb_.a(a(paramMouseEvent.getX()), b(paramMouseEvent.getY()));
        if (!bool2)
        {
          if (localJComponent != null)
          {
            if (((bool2) || ((parame_ instanceof d_))) && ((bool2) || (parame_.a() == localJComponent))) {
              return parame_;
            }
            return new d_(localb_, localJComponent);
          }
          i++;
        }
      } while (!bool1);
    }
    return null;
  }
  
  static final JComponent a(JComponent paramJComponent, int paramInt1, int paramInt2)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    Component localComponent;
    for (Object localObject = paramJComponent;; localObject = localComponent)
    {
      localComponent = ((Component)localObject).getComponentAt(paramInt1, paramInt2);
      if (localObject == localComponent)
      {
        if (bool2) {
          continue;
        }
        if (!bool2)
        {
          if (bool1) {
            break label77;
          }
          if ((localObject instanceof JComponent)) {
            return (JComponent)localObject;
          }
          return null;
        }
      }
      else
      {
        if (localComponent == null) {
          return null;
        }
        paramInt1 -= localComponent.getX();
      }
      label77:
      paramInt2 -= localComponent.getY();
    }
  }
  
  private void c(MouseEvent paramMouseEvent)
  {
    boolean bool = ld.E;
    e_ locale_ = a(paramMouseEvent, this.H);
    if ((bool) || (locale_ != this.H))
    {
      if (!bool)
      {
        if (this.H != null) {
          this.H.a(paramMouseEvent, 505);
        }
        this.i.setToolTipText(null);
        this.H = locale_;
      }
      if ((bool) || (this.H != null)) {
        this.H.a(paramMouseEvent, 504);
      }
    }
  }
  
  public void mouseWheelMoved(MouseWheelEvent paramMouseWheelEvent)
  {
    boolean bool = ld.E;
    if (((bool) || (!this.M)) && ((bool) || (this.H != null))) {
      this.H.a(paramMouseWheelEvent);
    }
  }
  
  public void a(pg parampg)
  {
    super.a(parampg);
    if ((ld.E) || (this.J != null)) {
      this.J.a(parampg);
    }
  }
  
  protected void a(Component paramComponent, MouseEvent paramMouseEvent, int paramInt1, int paramInt2, int paramInt3)
  {
    boolean bool2 = ld.E;
    boolean bool1 = this.M;
    this.M = true;
    try
    {
      Object localObject2;
      if (!bool2) {
        if ((paramMouseEvent instanceof MouseWheelEvent))
        {
          localObject2 = (MouseWheelEvent)paramMouseEvent;
          localObject1 = new MouseWheelEvent(paramComponent, paramInt3, paramMouseEvent.getWhen(), paramMouseEvent.getModifiers(), paramInt1, paramInt2, paramMouseEvent.getClickCount(), paramMouseEvent.isPopupTrigger(), ((MouseWheelEvent)localObject2).getScrollType(), ((MouseWheelEvent)localObject2).getScrollAmount(), ((MouseWheelEvent)localObject2).getWheelRotation());
          if (bool2) {
            break label130;
          }
          if (!ld.D) {
            break label122;
          }
        }
      }
      Object localObject1 = new MouseEvent(paramComponent, paramInt3, paramMouseEvent.getWhen(), paramMouseEvent.getModifiers(), paramInt1, paramInt2, paramMouseEvent.getClickCount(), paramMouseEvent.isPopupTrigger());
      label122:
      paramComponent.dispatchEvent((AWTEvent)localObject1);
      label130:
      if (!bool2) {
        if (paramInt3 != 503)
        {
          if (bool2) {
            break label191;
          }
          if (paramInt3 != 504) {
            break label186;
          }
        }
      }
      if (!bool2) {
        if ((paramComponent instanceof JComponent))
        {
          localObject2 = ((JComponent)paramComponent).getToolTipText((MouseEvent)localObject1);
          this.i.setToolTipText((String)localObject2);
        }
      }
      label186:
      label191:
      if ((bool2) || ((((MouseEvent)localObject1).isConsumed()) && ((bool2) || (!paramMouseEvent.isConsumed())))) {
        paramMouseEvent.consume();
      }
    }
    finally
    {
      this.M = bool1;
    }
  }
  
  static Class b(String paramString)
  {
    try
    {
      return Class.forName(paramString);
    }
    catch (ClassNotFoundException localClassNotFoundException)
    {
      throw new NoClassDefFoundError(localClassNotFoundException.getMessage());
    }
  }
  
  static final class a_
    extends RepaintManager
  {
    private final RepaintManager a;
    static final String b = "CustomRepaintManager.Instance";
    
    protected a_(RepaintManager paramRepaintManager)
    {
      this.a = paramRepaintManager;
    }
    
    public static a_ a(JComponent paramJComponent)
    {
      RepaintManager localRepaintManager = RepaintManager.currentManager(paramJComponent);
      if (!ld.E) {}
      if (localRepaintManager.getClass() != (hf.N == null ? (hf.N = hf.b("a.j.hf$a_")) : hf.N))
      {
        a_ locala_ = new a_(localRepaintManager);
        paramJComponent.putClientProperty("CustomRepaintManager.Instance", locala_);
        RepaintManager.setCurrentManager(locala_);
        return locala_;
      }
      return (a_)localRepaintManager;
    }
    
    public void c(JComponent paramJComponent)
    {
      if (!ld.E)
      {
        if (RepaintManager.currentManager(paramJComponent) == this) {
          paramJComponent.putClientProperty("CustomRepaintManager.Instance", null);
        }
      }
      else {
        RepaintManager.setCurrentManager(this.a);
      }
    }
    
    public Image getOffscreenBuffer(Component paramComponent, int paramInt1, int paramInt2)
    {
      Image localImage = this.a.getOffscreenBuffer(paramComponent, paramInt1, paramInt2);
      return localImage;
    }
    
    public Image getVolatileOffscreenBuffer(Component paramComponent, int paramInt1, int paramInt2)
    {
      return this.a.getVolatileOffscreenBuffer(paramComponent, paramInt1, paramInt2);
    }
    
    public void setDoubleBufferingEnabled(boolean paramBoolean)
    {
      this.a.setDoubleBufferingEnabled(paramBoolean);
    }
    
    public void setDoubleBufferMaximumSize(Dimension paramDimension)
    {
      this.a.setDoubleBufferMaximumSize(paramDimension);
    }
    
    public void removeInvalidComponent(JComponent paramJComponent)
    {
      this.a.removeInvalidComponent(paramJComponent);
    }
    
    public void markCompletelyDirty(JComponent paramJComponent)
    {
      boolean bool = ld.E;
      og.a_ locala_ = (og.a_)paramJComponent.getClientProperty("JCOMPONENT_PARENT_KEY");
      if (!bool)
      {
        if (locala_ != null)
        {
          if (bool) {
            break label52;
          }
          addDirtyRegion(paramJComponent, 0, 0, paramJComponent.getWidth(), paramJComponent.getHeight());
        }
      }
      else if (!ld.D) {
        return;
      }
      label52:
      this.a.markCompletelyDirty(paramJComponent);
    }
    
    public void addInvalidComponent(JComponent paramJComponent)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      og.a_ locala_ = (og.a_)paramJComponent.getClientProperty("JCOMPONENT_PARENT_KEY");
      if ((bool2) || (locala_ != null))
      {
        if (paramJComponent.getParent() != locala_) {}
        do
        {
          if (bool2) {
            break label79;
          }
          if (!paramJComponent.isValidateRoot())
          {
            paramJComponent = (JComponent)paramJComponent.getParent();
            if (!bool1) {
              break;
            }
          }
          if (bool2) {
            break label87;
          }
          this.a.addInvalidComponent(locala_);
        } while (bool2);
        label79:
        if (!bool1) {}
      }
      else
      {
        label87:
        this.a.addInvalidComponent(paramJComponent);
      }
    }
    
    public Rectangle getDirtyRegion(JComponent paramJComponent)
    {
      og.a_ locala_ = (og.a_)paramJComponent.getClientProperty("JCOMPONENT_PARENT_KEY");
      if (locala_ != null) {
        return new Rectangle();
      }
      Rectangle localRectangle = this.a.getDirtyRegion(paramJComponent);
      return localRectangle;
    }
    
    public boolean isCompletelyDirty(JComponent paramJComponent)
    {
      og.a_ locala_ = (og.a_)paramJComponent.getClientProperty("JCOMPONENT_PARENT_KEY");
      boolean bool;
      if (locala_ != null)
      {
        bool = false;
        if (ld.E) {
          break label38;
        }
        if (!ld.D) {}
      }
      else
      {
        bool = this.a.isCompletelyDirty(paramJComponent);
      }
      label38:
      return bool;
    }
    
    public void markCompletelyClean(JComponent paramJComponent)
    {
      og.a_ locala_ = (og.a_)paramJComponent.getClientProperty("JCOMPONENT_PARENT_KEY");
      if (locala_ == null) {
        this.a.markCompletelyClean(paramJComponent);
      }
    }
    
    public void addDirtyRegion(JComponent paramJComponent, int paramInt1, int paramInt2, int paramInt3, int paramInt4)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      if (!bool2)
      {
        if (paramInt3 >= 1) {
          if (bool2) {
            break label42;
          }
        }
      }
      else {
        if (paramInt4 >= 1) {
          break label33;
        }
      }
      return;
      label33:
      if (!bool2) {
        if ((paramJComponent instanceof og.a_)) {
          label42:
          return;
        }
      }
      og.a_ locala_ = (og.a_)paramJComponent.getClientProperty("JCOMPONENT_PARENT_KEY");
      if ((bool2) || (locala_ != null))
      {
        hf.b_ localb_ = (hf.b_)paramJComponent.getClientProperty("FloatingJComponent.Instance");
        do
        {
          do
          {
            if (localb_ != null) {
              break;
            }
            if (!bool2)
            {
              if (paramJComponent == locala_) {
                break;
              }
              paramInt1 += paramJComponent.getX();
              paramInt2 += paramJComponent.getY();
              paramJComponent = (JComponent)paramJComponent.getParent();
            }
            localb_ = (hf.b_)paramJComponent.getClientProperty("FloatingJComponent.Instance");
          } while (!bool1);
        } while (bool2);
        if (localb_ == null) {
          return;
        }
        Rectangle2D.Double localDouble = new Rectangle2D.Double();
        localb_.a(new Rectangle(paramInt1, paramInt2, paramInt3, paramInt4), localDouble);
        JComponent localJComponent = (JComponent)locala_.getParent();
        pg localpg = (pg)localJComponent.getParent();
        paramInt1 = localpg.d(localDouble.x);
        paramInt2 = localpg.e(localDouble.y);
        paramInt3 = (int)Math.ceil(localDouble.width * localpg.M());
        paramInt4 = (int)Math.ceil(localDouble.height * localpg.M());
        if (!bool2)
        {
          if (paramInt1 < 1)
          {
            paramInt3 += paramInt1;
            paramInt1 = 1;
          }
          if (bool2) {}
        }
        else
        {
          if (paramInt2 < 1)
          {
            paramInt4 += paramInt2;
            paramInt2 = 1;
          }
          if (bool2) {
            break label327;
          }
          this.a.addDirtyRegion(localJComponent, paramInt1 - 1, paramInt2 - 1, paramInt3 + 2, paramInt4 + 2);
        }
        if (!bool1) {
          return;
        }
      }
      label327:
      this.a.addDirtyRegion(paramJComponent, paramInt1, paramInt2, paramInt3, paramInt4);
    }
    
    public void validateInvalidComponents()
    {
      this.a.validateInvalidComponents();
    }
    
    public String toString()
    {
      String str = "Wrapped : " + this.a.toString();
      return str;
    }
    
    public void paintDirtyRegions()
    {
      this.a.paintDirtyRegions();
    }
    
    public Dimension getDoubleBufferMaximumSize()
    {
      return this.a.getDoubleBufferMaximumSize();
    }
    
    public boolean isDoubleBufferingEnabled()
    {
      return this.a.isDoubleBufferingEnabled();
    }
  }
  
  abstract class e_
  {
    private JComponent a;
    
    e_(JComponent paramJComponent)
    {
      this.a = paramJComponent;
    }
    
    public JComponent a()
    {
      return this.a;
    }
    
    public abstract Cursor c();
    
    public void a(MouseEvent paramMouseEvent)
    {
      a(paramMouseEvent, paramMouseEvent.getID());
    }
    
    public abstract void a(MouseEvent paramMouseEvent, int paramInt);
    
    protected void a(Component paramComponent, MouseEvent paramMouseEvent, int paramInt1, int paramInt2, int paramInt3)
    {
      hf.this.a(paramComponent, paramMouseEvent, paramInt1, paramInt2, paramInt3);
    }
  }
  
  final class d_
    extends hf.e_
  {
    private final hf.b_ b;
    
    d_(hf.b_ paramb_, JComponent paramJComponent)
    {
      super(paramJComponent);
      this.b = paramb_;
    }
    
    public void a(MouseEvent paramMouseEvent, int paramInt)
    {
      Rectangle2D.Double localDouble = new Rectangle2D.Double();
      this.b.a(localDouble);
      double d1 = hf.this.a(paramMouseEvent.getX());
      double d2 = hf.this.b(paramMouseEvent.getY());
      Point localPoint = new Point();
      if ((ld.E) || (this.b.a(a(), d1, d2, localPoint))) {
        super.a(a(), paramMouseEvent, localPoint.x, localPoint.y, paramInt);
      }
    }
    
    public Cursor c()
    {
      return a().getCursor();
    }
  }
  
  final class c_
    extends hf.e_
  {
    private final ld b;
    private final JComponent c;
    
    c_(JComponent paramJComponent1, JComponent paramJComponent2, ld paramld)
    {
      super(paramJComponent2);
      this.c = paramJComponent1;
      this.b = paramld;
    }
    
    public void a(MouseEvent paramMouseEvent, int paramInt)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      int i = (int)(hf.this.a(paramMouseEvent.getX()) - this.b.a());
      int j = (int)(hf.this.b(paramMouseEvent.getY()) - this.b.b());
      Object localObject = a();
      if (!bool2) {
        if (!((Component)localObject).isVisible()) {
          return;
        }
      }
      do
      {
        if (localObject == this.c) {
          break;
        }
        if (bool1) {
          break label129;
        }
        if (localObject == null) {
          break;
        }
        i -= ((Component)localObject).getX();
        j -= ((Component)localObject).getY();
        localObject = ((Component)localObject).getParent();
      } while (!bool1);
      if ((!bool2) && (localObject != null)) {
        label129:
        super.a(a(), paramMouseEvent, i, j, paramInt);
      }
    }
    
    public Cursor c()
    {
      return a().getCursor();
    }
  }
  
  static final class b_
  {
    private JComponent a;
    private AffineTransform c;
    static final String e = "FloatingJComponent.Instance";
    
    public b_(JComponent paramJComponent, AffineTransform paramAffineTransform)
    {
      this.a = paramJComponent;
      this.a.putClientProperty("FloatingJComponent.Instance", this);
      this.c = paramAffineTransform;
    }
    
    public AffineTransform a()
    {
      return this.c;
    }
    
    public JComponent c()
    {
      return this.a;
    }
    
    public void a(Rectangle2D.Double paramDouble)
    {
      a(new Rectangle2D.Double(0.0D, 0.0D, this.a.getWidth(), this.a.getHeight()), paramDouble);
    }
    
    public void a(Rectangle2D paramRectangle2D1, Rectangle2D paramRectangle2D2)
    {
      double[] arrayOfDouble = new double[8];
      double tmp13_10 = paramRectangle2D1.getX();
      arrayOfDouble[2] = tmp13_10;
      arrayOfDouble[0] = tmp13_10;
      double tmp24_21 = paramRectangle2D1.getY();
      arrayOfDouble[5] = tmp24_21;
      arrayOfDouble[1] = tmp24_21;
      double tmp36_33 = paramRectangle2D1.getMaxY();
      arrayOfDouble[7] = tmp36_33;
      arrayOfDouble[3] = tmp36_33;
      double tmp48_45 = paramRectangle2D1.getMaxX();
      arrayOfDouble[6] = tmp48_45;
      arrayOfDouble[4] = tmp48_45;
      this.c.transform(arrayOfDouble, 0, arrayOfDouble, 0, 4);
      double d1 = Math.max(Math.max(arrayOfDouble[0], arrayOfDouble[2]), Math.max(arrayOfDouble[4], arrayOfDouble[6]));
      double d2 = Math.min(Math.min(arrayOfDouble[0], arrayOfDouble[2]), Math.min(arrayOfDouble[4], arrayOfDouble[6]));
      double d3 = Math.max(Math.max(arrayOfDouble[1], arrayOfDouble[3]), Math.max(arrayOfDouble[5], arrayOfDouble[7]));
      double d4 = Math.min(Math.min(arrayOfDouble[1], arrayOfDouble[3]), Math.min(arrayOfDouble[5], arrayOfDouble[7]));
      paramRectangle2D2.setFrame(d2, d4, d1 - d2, d3 - d4);
    }
    
    public void a(JComponent paramJComponent, int paramInt1, int paramInt2, Point2D.Double paramDouble)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      Object localObject = paramJComponent;
      if (localObject != this.a)
      {
        paramInt1 += ((Component)localObject).getX();
        paramInt2 += ((Component)localObject).getY();
        localObject = ((Component)localObject).getParent();
      }
      for (;;)
      {
        if ((bool2) || (!bool1))
        {
          if (!bool1) {
            break;
          }
          paramDouble.setLocation(paramInt1, paramInt2);
          if (!bool2) {
            this.c.transform(paramDouble, paramDouble);
          }
        }
      }
    }
    
    public JComponent a(double paramDouble1, double paramDouble2)
    {
      boolean bool = ld.E;
      double[] arrayOfDouble = { paramDouble1, paramDouble2 };
      try
      {
        this.c.inverseTransform(arrayOfDouble, 0, arrayOfDouble, 0, 1);
      }
      catch (NoninvertibleTransformException localNoninvertibleTransformException)
      {
        return null;
      }
      int i = (int)arrayOfDouble[0];
      int j = (int)arrayOfDouble[1];
      if (((bool) || (i >= 0)) && ((bool) || (j >= 0)) && ((bool) || ((i < this.a.getWidth()) && (j < this.a.getHeight())))) {
        return hf.a(this.a, i, j);
      }
      return null;
    }
    
    public boolean a(JComponent paramJComponent, double paramDouble1, double paramDouble2, Point paramPoint)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      double[] arrayOfDouble = { paramDouble1, paramDouble2 };
      try
      {
        this.c.inverseTransform(arrayOfDouble, 0, arrayOfDouble, 0, 1);
      }
      catch (NoninvertibleTransformException localNoninvertibleTransformException)
      {
        return false;
      }
      int i = (int)arrayOfDouble[0];
      int j = (int)arrayOfDouble[1];
      Object localObject = paramJComponent;
      do
      {
        if (localObject == this.a) {
          break;
        }
        if (bool1) {
          break label120;
        }
        if (localObject == null) {
          break;
        }
        i -= ((Component)localObject).getX();
        j -= ((Component)localObject).getY();
        localObject = ((Component)localObject).getParent();
      } while (!bool1);
      if (!bool2)
      {
        if (localObject == null) {
          label120:
          return false;
        }
        paramPoint.x = i;
        paramPoint.y = j;
      }
      return true;
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.j.hf

 * JD-Core Version:    0.7.0.1

 */